# include "iostream"

using namespace std;

template <typename T>
T getMaxNum(T a, T b, T c){
    T temp = a > b? a: b;
    T temp2 = b > c? b:c;
    return temp > temp2?temp:temp2;

}
// 显式实例化（可选）
template int getMaxNum(int a, int b, int c);
template float getMaxNum(float a, float b, float c);
template double getMaxNum(double a, double b, double c);